<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
		function update(){
			window.location='ok.jsp';
		}

	</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">用户管理</a></li>
    <li><a href="#">修改用户</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>基本信息</span></div>
    <form action="usermanager.do" method="post">
        <input type="hidden" name="flag" value="updateUser"/>
        <input type="hidden" name="userid" value="${user1.userid}"/>
    <ul class="forminfo">
    <li>
        <label>用户名</label>
        <input name="username" type="text" class="dfinput" value="${user1.username}"/> </li>
    <li>
				<label>性别</label><cite>
        <c:choose>
            <c:when test="${user1.usersex=='男'}">
                <input name="usersex" type="radio" value="男" checked="checked" />男&nbsp;&nbsp;&nbsp;&nbsp;
                <input name="usersex" type="radio" value="女" />女
            </c:when>
            <c:otherwise>
                <input name="usersex" type="radio" value="男"  />男&nbsp;&nbsp;&nbsp;&nbsp;
                <input name="usersex" type="radio" value="女" checked="checked"/>女
            </c:otherwise>
        </c:choose>

    </cite>
	</li>
    <li><label>手机号</label><input name="phoneNum" type="text" class="dfinput" value="${user1.phoneNum}"/></li>
	<li><label>QQ号</label><input name="qqNum" type="text" class="dfinput" value="${user1.qqNum}"/></li>
    <li><label>&nbsp;</label><input  type="submit" class="btn" value="确认保存" onclick="update()"/></li>
    </ul>

        </form>
    </div>


</body>

</html>
